import http from '@/common/request/http.js'
const { get, post, downloadFile } = http

// 获取搜索商品列表
export function ApiGetGoodsSearchList(data){
  return get('/blade-base/esGoods/getGoodsSearchList',data)
}
// 获取商品基本信息
export function ApiGetGoodsDetail(data){
  return get('/blade-base/esGoods/getGoodsInfo',data)
}
// 获取商品属性信息
export function ApiGetGoodsAttr(data){
  return get('/blade-base/goods-attr/getGoodsAttr',data)
}
// 获取搭配商品
export function ApiGetGoodsCollocation(data){
  return get('/blade-base/esGoods/getGoodsSearchList',data)
}
// 热门搜索
export function ApiSearchlog(data){
  return get('/blade-base/app/searchlog/page',data)
}